#ifndef LOG_PUB_H
#define LOG_PUB_H

//日志类型枚举
typedef enum {
	LOG_ADD_STUDENT,
	LOG_DELETE_STUDENT,
	LOG_MODIFY-STUDENT,
	LOG_ADD_COURSE,
	LOG_DELETE_COURSE,
	LOG_MODIFY_COURSE,
	LOG_SELECT_COURSE,
	LOG_DROP_COURSE
} LogType;

//日志记录函数
void log_operation(LogType, const char* target_id, const char* details);

#endif
